package com.hotleproject.service;

import com.hotleproject.pojo.Hotle;

import java.util.List;
import java.util.Map;

public interface HotleService {
    List<Hotle> findAll();
    int findHotlegetCount();
    List<Hotle> findHotleByHotleCity(String hotleCity,int pageNo,int pageSize);
//
    int getCount();
    List<Hotle> pageList(int pageNo,int pageSize);
    void addHotle(String hotlename,String hotleCity,String hotlePhone,String hotleImg,String hotleDec);
    void updateHotle(String hotlename,String hotleCity,String hotlePhone,String hotleImg,String hotleDec,String Beforehotlename);
    void deleteHotle(String hotlename);
}
